rst:0x10 (RTCWDT_RTC_RESET),boot:0x1b (SPI_FAST_FLASH_BOOT)invalid header: 0xffffffffinvalid header: 0xffffffff
现在问题是我无法正常写入固件
我短接了gnd和io0 io2后 串口显示rst:0x10 (RTCWDT_RTC_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))waiting for downloadets Jul 29 2019 12:21:46
再reset重置EN后显示rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))waiting for download
此时我的开发板已经可以正常写入固件了,但我做的板子却会无法连接,显示blink git:(release/v4.2)$ idf.py -p /dev/cu.usbserial-0001 -b 115200 flashExecuting action: flashRunning ninja in directory /Users/terryding77/hardware/esp32/esp-idf/examples/get-started/blink/buildExecuting "ninja flash"...[1/4] Performing build step for 'bootloader'ninja: no work to do.[1/2] cd /Users/terryding77/hardware/es...components/esptool_py/run_esptool.cmakeesptool.py esp32 -p /dev/cu.usbserial-0001 -b 115200 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 blink.binesptool.py v3.1-devSerial port /dev/cu.usbserial-0001Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet headerCMake Error at run_cmd.cmake:14 (message): esptool.py failedCall Stack (most recent call first): run_esptool.cmake:21 (include)
FAILED: CMakeFiles/flashcd /Users/terryding77/hardware/esp32/esp-idf/components/esptool_py && /usr/local/Cellar/cmake/3.19.6/bin/cmake -D IDF_PATH="/Users/terryding77/hardware/esp32/esp-idf" -D ESPTOOLPY="/Users/terryding77/.espressif/python_env/idf4.2_py3.9_env/bin/python /Users/terryding77/hardware/esp32/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32" -D ESPTOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="/Users/terryding77/hardware/esp32/esp-idf/examples/get-started/blink/build" -P /Users/terryding77/hardware/esp32/esp-idf/components/esptool_py/run_esptool.cmakeninja: build stopped: subcommand failed.ninja failed with exit code 1
我想知道写入固件还有什么是我没有注意的事项么,stripping的引脚里 io0 io2我应该都设置对了 才会正常出行下载模式的串口输出吧,还有其他需要注意的么,或者是由于模组是新的,第一次写入固件有什么特殊的操作要执行?麻烦各位大神指导下,辛苦了